//
//  ToastView.h
//  LAEducation
//
//  Created by JiangXiaotao on 2014-10-29.
//  Copyright (c) 2014年 jxt. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface ToastView : UIView

@property (nonatomic,retain) NSString *text;

@property (nonatomic,retain) UILabel *textLabel;

+ (instancetype)showText:(NSString *)text interval:(NSTimeInterval)interval;

+ (instancetype)showLoading;

+ (instancetype)showLoadingWithText:(NSString *)text;

+ (void)dismissAll;

- (void)setText:(NSString *)text;

- (void)showLoading:(BOOL)loading text:(NSString *)text interval:(NSTimeInterval)interval;
    
- (void)dismiss;

@end
